repo: Fix annotations for remote_fetch_summary functions
authorDan Nicholson <nicholson@endlessm.com>
Fri, 9 Dec 2016 12:37:47 +0000 (06:37 -0600)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 9 Dec 2016 13:07:42 +0000 (13:07 +0000)
These are out parameters, so add the (out) annotation and switch
(nullable) to (optional) since the latter is used for the purpose of
optional out parameters.

Closes: #629
Approved by: cgwalters

src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.c

index 0d33c048ed2c9d916c50422f79de0b3ed19a503f..46724b85268f08536d178c8a21adcd835c519e78 100644 (file)
@@ -3137,9 +3137,10 @@ ostree_repo_pull_with_options (OstreeRepo             *self,
  * @self: Self
  * @name: name of a remote
  * @options: (nullable): A GVariant a{sv} with an extensible set of flags
- * @out_summary: (nullable): return location for raw summary data, or %NULL
- * @out_signatures: (nullable): return location for raw summary signature
- *                              data, or %NULL
+ * @out_summary: (out) (optional): return location for raw summary data, or
+ *               %NULL
+ * @out_signatures: (out) (optional): return location for raw summary
+ *                  signature data, or %NULL
  * @cancellable: a #GCancellable
  * @error: a #GError
  *
index 8aa76dacb56c1d811348e796981ecd547ec5868c..b113ccc03c6505c8edd667909600815bdd345832 100644 (file)
@@ -1700,9 +1700,10 @@ out:
  * ostree_repo_remote_fetch_summary:
  * @self: Self
  * @name: name of a remote
- * @out_summary: (nullable): return location for raw summary data, or %NULL
- * @out_signatures: (nullable): return location for raw summary signature
- *                                data, or %NULL
+ * @out_summary: (out) (optional): return location for raw summary data, or
+ *               %NULL
+ * @out_signatures: (out) (optional): return location for raw summary
+ *                  signature data, or %NULL
  * @cancellable: a #GCancellable
  * @error: a #GError
  *